package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesOrderMaterialDTO;
import com.hunttown.mes.rpc.domain.query.MesOrderMaterialDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:27:20
 */
public interface MesOrderMaterialRpcService {

    MesOrderMaterialDTO insert(MesOrderMaterialDTO mesOrderMaterialDTO);

    Boolean updateInfoById(MesOrderMaterialDTO mesOrderMaterialDTO);

    Boolean updateInfoByQuery(MesOrderMaterialDTOQuery mesOrderMaterialDTOQuery);

    MesOrderMaterialDTO selectById(Integer id);

    MesOrderMaterialDTO selectObjByQuery(MesOrderMaterialDTOQuery mesOrderMaterialDTOQuery);

    Page<MesOrderMaterialDTO> getListForPage(MesOrderMaterialDTOQuery mesOrderMaterialDTOQuery);

    Boolean deleteById(Integer id);
}